package cn.cloud.jianghai.jianghaicommon.utils;


import cn.cloud.jianghai.jianghaicommon.exception.BusException;

/**
 * @author Jiang.h
 * created 2022/5/22 17:18
 */
public class ExceptionUtil {


    public static void businessException(Boolean flag, String msg) {

        if (flag) {
            throw new BusException(msg);
        }
    }
}
